package com.heima.model.user.dtos;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description TODO
 * @Author earl
 * @Data 2024/8/22下午2:51
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CollectionBehaviorDto {
    /**
     * 文章id
     */
    private Long entryId;

    /**
     * 0收藏    1取消收藏
     */
    private int operation;

    /**
     * 发布时间
     */
    private Date publishedTime;

    /**
     * 0文章    1动态
     */
    private int type;

    /**
     * 用户ID
     */
    private Integer userId;

}